CustomTables\Fields D

Total Complexity 353
Dependencies 12
Dependents 33
Total lines 1,621
Lines of code 1,111
Logical lines of code 841
Comment lines 186
Methods 48
Properties 0

Methods 48

Method Rating Maintainability Complexity Lines of code
getProjectedFieldType()
D
23
65 131
saveField()
C
31 25 109
makeProjectedFieldType()
C
35 25 91
convertMySQLFieldTypeToCT()
C
40 27 53
update_physical_field()
B
39 21 61
deleteField_byID()
B
39 19 57
addField()
A
45 11 38
addFieldPrefixToExpression()
A
47 10 37
addForeignKey()
A
47 9 36
ConvertFieldType()
A
54 10 18
fixMYSQLField()
A
48 9 33
FixCustomTablesRecord()
A
51 8 27
projectedFieldTypeToString()
S
58 8 12
getTableConstrances()
S
52 7 23
getFieldRowByName()
S
52 7 23
convertRawFieldType()
S
58 5 14
FixCustomTablesRecords()
S
54 4 20
cleanTableBeforeNormalization()
S
56 4 16
getRealFieldName()
S
67 5 7
isLanguageFieldName()
S
60 4 13
getLanguageLessFieldName()
S
60 4 13
getFields()
S
59 4 13
addLanguageField()
S
59 4 13
getFieldRow()
S
61 4 11
AddMySQLFieldNotExist()
S
62 4 11
shortFieldObject()
S
54 3 20
isFieldNullable()
S
49 2 32
isVirtualField()
S
64 4 8
FieldRowByName()
S
65 4 9
deleteMYSQLField()
S
61 3 12
checkFieldName()
S
63 3 11
getFieldName()
S
62 3 10
parse_column_type()
S
64 3 9
addIndexIfNotExist()
S
65 3 9
removeForeignKey()
S
64 3 10
findAndFixOrderingFieldRecords()
S
59 2 14
findAndFixFieldOrdering()
S
60 2 13
getFieldID()
S
61 2 11
getListOfExistingFields()
S
68 2 7
shortFieldObjects()
S
70 2 6
removeForeignKeyConstrance()
S
69 2 7
CreateFileBoxTable()
S
62 1 11
CreateImageGalleryTable()
S
62 1 11
getMaxOrdering()
S
67 1 7
checkIfFieldExists()
S
74 1 4
getFieldRowSelectArray()
S
79 1 3
getFieldRowSelects()
S
79 1 3
getPureFieldType()
S
75 1 4